import org.molamil.acto.params.ParamContext;

/**
 * @author hernandezjo
 */
class org.molamil.acto.validators.ValidatorResult {
	
	
	// Properties
	
	private var _isValid:Boolean;	private var _isRequiredValid:Boolean;
	private var _preSource:Object;	private var _postSource:Object;	private var _props:Object;
	
	
	// Constructor
	
	public function ValidatorResult() {
		_isValid = true;
	}
	
	
	// Functions
	
	public function toString():String {
		var s:String = "org.molamil.acto.params.ValidatorResult" +
					   "\n\t isValid = " + _isValid +					   "\n\t isRequiredValid = " + _isRequiredValid +
					   "\n\t preSource = " + _preSource +
					   "\n\t postSource = " + _postSource +
					   "\n\t props = " + _props;
		return s;
	}
	
	
	// Getter/Setter
	
	public function get isValid():Boolean {
		return _isValid;
	}
	
	public function set isValid(isValid:Boolean):Void {
		_isValid = isValid;
	}
	
	public function get isRequiredValid():Boolean {
		return _isRequiredValid;
	}
	
	public function set isRequiredValid(isRequiredValid:Boolean):Void {
		_isRequiredValid = isRequiredValid;
	}
	
	public function get preSource():Object {
		return _preSource;
	}
	
	public function set preSource(preSource:Object):Void {
		_preSource = preSource;
	}
	
	public function get postSource():Object {
		return _postSource;
	}
	
	public function set postSource(postSource:Object):Void {
		_postSource = postSource;
	}
	
	public function get props():Object {
		return _props;
	}
	
	public function set props(props:Object):Void {
		_props = props;
	}
	
	
}
